#define _CRT_SECURE_NO_WARNINGS 1
#pragma once
#include<stdio.h>
#include"slist.h"
int main()
{
	SLNode* plist = NULL;
	SListPushBack(&plist, 1);
	SListPushBack(&plist, 2);
	SListPushBack(&plist, 3);
	SListPushBack(&plist, 4);
	SListPushFront(&plist, 0);
	SListPopFront(&plist);
	SLNode* pos = SListFind(plist, 3);
	SListErase(&plist, pos);
	//SListInsert(&plist, 20, pos);
	//SListPopBack(&plist);
	SListPrint(plist);
	return 0;
}